home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- toolchest - utility menu program
-
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ttttoooooooollllcccchhhheeeesssstttt [----hhhhoooorrrriiiizzzzoooonnnnttttaaaallll | ----vvvveeeerrrrttttiiiiccccaaaallll | ----iiiiccccoooonnnn] [----ddddeeeeccccaaaallll | ----nnnnooooddddeeeeccccaaaallll]
- [----hhhhiiiiddddeeeettttiiiittttlllleeee | ----sssshhhhoooowwwwttttiiiittttlllleeee] [----ttttiiiittttlllleeee _t_i_t_l_e] [_m_e_n_u_d_e_s_c_r_1 [..._m_e_n_u_d_e_s_c_r_n]]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _t_o_o_l_c_h_e_s_t program displays a list of buttons, each of which can
- invoke a useful command or present a submenu of additional buttons. The
- standard set of menu buttons in the IRIX Interactive Desktop toolchest is
- Desktop, Selected, Find, System, and Help. Each menu provides lists of
- useful commands for running top-level window management programs (in
- conjunction with _4_D_w_m), desk utilities, search utilities, system
- administration functions, or documentation-displaying programs.
-
-
- OOOOppppttttiiiioooonnnnssss
- ----hhhhoooorrrriiiizzzzoooonnnnttttaaaallll
- This option specifies that the toolchest should display the top
- level horizontally, rather than vertically.
-
- ----vvvveeeerrrrttttiiiiccccaaaallll
- This option specifies that the toolchest should display the top
- level vertically. This is the default, but the option can be
- used to override saved resources.
-
- ----iiiiccccoooonnnn This option specifies that only an icon should be displayed when
- the toolchest is not in use, rather than displaying the top level
- of the toolchest. This option provides for display of the top
- level vertically only.
-
- ----ddddeeeeccccaaaallll This option specifies that the toolchest should display decals.
- For a vertical toolchest, a decal is displayed on each top level
- button that contains a menu. For a horizontal toolchest, one
- decal is displayed to the left of the toolchest. For an icon
- toolchest, no decals are ever displayed. This option is on by
- default.
-
- ----nnnnooooddddeeeeccccaaaallll
- This option specifies that the toolchest should not display
- decals.
-
- ----hhhhiiiiddddeeeettttiiiittttlllleeee
- This option eliminates the title bar of the toolchest. This was
- the default in earlier releases but with the availability of
- desks, the titlebar is enabled by default and shows the name of
- the current desk.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- ----sssshhhhoooowwwwttttiiiittttlllleeee
- This option shows the titlebar of the toolchest. This option is
- on by default.
-
- ----ttttiiiittttlllleeee This option sets the title in the toolchest. If it is not set,
- the name "Toolchest" is used.
-
- Users can change which buttons and/or menus are displayed by the
- toolchest program, as well as the command lines which will be launched by
- button selections.
-
- The toolchest program reads a description of its buttons and menus from a
- menu description file when the program starts. The standard menu set is
- described by the system toolchest file /_u_s_r/_l_i_b/_X_1_1/_s_y_s_t_e_m._c_h_e_s_t_r_c, but
- users can customize their toolchest menu by providing either an auxiliary
- toolchest file named ._a_u_x_c_h_e_s_t_r_c or a user-customized toolchest file
- named ._c_h_e_s_t_r_c in their home directory. The system toolchest file
- includes the auxiliary file, and thus adds its contents to the default
- system menu, while the user-customized toolchest file overrides the
- system toolchest file. It is suggested that the auxiliary toolchest file
- be used for customization if possible, as future changes to the system
- toolchest will then be incorporated automatically. If a user-customized
- toolchest file is to be used, it is suggested that the system toolchest
- file be copied to $_H_O_M_E/._c_h_e_s_t_r_c as a starting point and then the user
- can modify the ._c_h_e_s_t_r_c file. See the comments below on the _i_n_c_l_u_d_e and
- _s_i_n_c_l_u_d_e keywords for a discussion of how to set up an include file.
-
- In addition to including the auxiliary toolchest file, the system
- toolchest file will also include all files ending with ._c_h_e_s_t in the
- directory /_u_s_r/_l_i_b/_X_1_1/_a_p_p-_c_h_e_s_t_s.
-
- Remote toolchests launched via /usr/sbin/accessworkstation or from the
- Toolchest>Desktop>AccessFiles>(As Another User/By Remote Login) use the
- resource file /_u_s_r/_l_i_b/_X_1_1/_r_e_m_o_t_e._c_h_e_s_t_r_c to show a limited number of
- menu choices.
-
- Invoking toolchest with no arguments causes the user or system menu
- description file to be read. When one or more file names are specified
- to toolchest, the menu set is completely described by the list of files.
- Instead of files, directory names may also be specified, in which case
- all files in that directory that end with ._c_h_e_s_t are included, in
- alphabetical order. Specifying command line arguments is most useful in
- designing the menu layout; once this has been done, the user can
- concatenate the files named on the command line into a single file, name
- it ._a_u_x_c_h_e_s_t_r_c and put it in their home directory.
-
- The menu tree is always rooted at a menu named "ToolChest"; thus the MMMMeeeennnnuuuu
- TTTToooooooollllCCCChhhheeeesssstttt {{{{ ... }}}} must be provided somewhere in the toolchest
- description. For example, if a menu named "Tools" with menu items "Jot"
- and "Gmemusage" needs to be added to the toolchest, the following should
- go in ._a_u_x_c_h_e_s_t_r_c :
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- Menu Tools
- {
- no-label f.separator
- "Jot" f.checkexec.sh.le "/usr/sbin/jot"
- "Gmemusage" f.checkexec.sh.le "/usr/sbin/gmemusage"
- }
-
- MMMMeeeennnnuuuu TTTToooooooollllCCCChhhheeeesssstttt
-
- {
- no-label f.separator
- "Tools" f.menu Tools
- }
-
-
- Toolchest buttons and menus may be operated with either left or right
- mouse buttons (mouse buttons 1 or 3).
-
- The default shell to run the commands is determined in the same way as is
- used by _m_w_m and _4_D_w_m. If the environment $$$$MMMMWWWWMMMMSSSSHHHHEEEELLLLLLLL is defined, toolchest
- uses that. Otherwise, if the $$$$SSSSHHHHEEEELLLLLLLL is defined, it uses that.
- Otherwise, it uses /_b_i_n/_s_h. In the interests of performance, however,
- alternate "shell" versions of the execute commands are provided that
- force the use of /_b_i_n/_s_h regardless of the shell specified through the
- environment. Since /_b_i_n/_s_h is faster than some other shells, this can
- speed up launching commands. These alternate forms, used in the system
- toolchest, are described below, and are highly recommended unless you
- have commands that are shell specific.
-
- RRRReeeessssoooouuuurrrrcccceeeessss
- "Toolchest" is the resource class name for toolchest. "toolchest" is the
- resource instance name for toolchest and takes precedence over
- "Toolchest" when used to specify resources. However, for historical
- reasons, when invoked at system startup (from the _X_s_e_s_s_i_o_n file),
- toolchest is invoked with the ----nnnnaaaammmmeeee TTTToooooooollllCCCChhhheeeesssstttt option. This causes it to
- have an instance name of "ToolChest" instead of "toolchest".
-
- The syntax for specifying the resources is
-
- TTTToooooooollllcccchhhheeeesssstttt****_r_e_s_o_u_r_c_e__i_d: _v_a_l_u_e
-
- where _r_e_s_o_u_r_c_e__i_d can be any of the following:
-
-
- iiiiccccoooonnnn If this resource is true then only an icon should be displayed
- when the toolchest is not in use, rather than displaying the top
- level of the toolchest. This provides for display of the top
- level vertically only.
-
- hhhhoooorrrriiiizzzzoooonnnnttttaaaallll
- If this resource is true then the toolchest should display the
- top level horizontally, rather than vertically. This resource
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- may be changed from the Windows customization panel _w_i_n_d_o_w_s.
-
- sssshhhhoooowwwwDDDDeeeeccccaaaallll
- If this resource is true, then decals are shown on the toolchest.
- Since this resource defaults to true, decals can be turned off by
- setting it to false.
-
- hhhhiiiiddddeeeeTTTTiiiittttlllleeee
- This option eliminates the title bar of the toolchest. This was
- the default in earlier releases but with the availability of
- desks, the titlebar is enabled by default and shows the name of
- the current desk.
-
- ddddeeeeccccaaaallllFFFFoooorrrreeeeggggrrrroooouuuunnnndddd
- This resource specifies the foreground color of the decals.
-
- aaaauuuuddddiiiiooooFFFFeeeeeeeeddddbbbbaaaacccckkkk
- If set to TRUE, the toolchest gives audio cues when launching
- applications. This resource is normally changed from the Desktop
- customization panel _d_e_s_k_t_o_p.
-
- mmmmeeeennnnuuuuVVVViiiissssuuuuaaaallllTTTTyyyyppppeeee
- This resource controls the visual in which the menus appear.
- Possible values are "normal" specifying the normal planes,
- "overlay" specifying overlay planes, and "popup" specifying the
- popup planes. On hardware supporting only popup planes,
- specifying "overlay" results in popup planes. If the requested
- visual type is not supported by the hardware, a warning is issued
- and a default type is used. The default is to use the popup
- planes. Use of the popup planes avoids interfering with other
- applications on the screen, but provides only three colors; the
- bottom shadow color may be different than the color that would be
- allocated in the normal planes. To have the full ability to
- choose colors, set this resource to "normal".
-
- mmmmeeeennnnuuuuVVVViiiissssuuuuaaaallllDDDDeeeepppptttthhhh
- This resource controls the depth of the visual to be used for the
- menus. The default is to choose an optimum value based on the
- available hardware. If the hardware does not support the
- requested depth for the requested menuVisualType, a warning is
- issued and a default depth is chosen.
-
- uuuusssseeeeTTTTeeeeaaaarrrrOOOOffffffffssss
- Setting this resource to TRUE will enable Motif tear-off menus.
- With tear-off menus, a dotted line is created at the top of each
- pane. Clicking on the dotted line will tear off the menu pane,
- and give it window manager borders. The pane will remain posted
- until dismissed. If this option is used while the menus are in
- the popup or overlay planes, the colors of the menu will change
- whenever any other application uses the same planes. Thus if
- this option is used, it is a good idea to put the menus in the
- normal planes by setting menuVisualType to normal and
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- menuVisualDepth to 0.
-
- Defaults for the above resources as well as for colors and geometry are
- set up in a system wide defaults file. The file name /_u_s_r/_l_i_b/_X_1_1/_a_p_p-
- _d_e_f_a_u_l_t_s/_T_o_o_l_c_h_e_s_t represents the customary location for this file. The
- actual location of the system-wide class resource file may depend on
- certain environment variables. The toolchest should not be resized. Do
- not set a size with geometry. The toolchest selects an optimal size
- based on the font. To get a different sized toolchest, set the
- TTTToooooooollllcccchhhheeeesssstttt****ffffoooonnnnttttLLLLiiiisssstttt:::: to some other font in your resources. For example, a
- smaller toolchest can be created with:
-
- TTTToooooooollllcccchhhheeeesssstttt****ffffoooonnnnttttLLLLiiiisssstttt:::: ----aaaaddddoooobbbbeeee----hhhheeeellllvvvveeeettttiiiiccccaaaa----bbbboooolllldddd----rrrr----nnnnoooorrrrmmmmaaaallll--------11110000----****
-
-
-
- MMMMEEEENNNNUUUU DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN FFFFIIIILLLLEEEE FFFFOOOORRRRMMMMAAAATTTT
- The format for the menu description file is a subset of that described
- for the Motif Window Manager, mwm, with a few extensions. toolchest
- recognizes the keyword _m_e_n_u and the operators _f._m_e_n_u, _f._t_i_t_l_e, _f._e_x_e_c,
- _f._s_e_p_a_r_a_t_o_r, and _f._l_a_b_e_l. In addition, the new keywords _r_e_m_o_v_e, _i_n_c_l_u_d_e,
- and _s_i_n_c_l_u_d_e and the new operators _f._c_h_e_c_k_e_x_e_c, _f._c_h_e_c_k_e_x_p_r, _f._e_x_e_c._s_h,
- _f._c_h_e_c_k_e_x_e_c._s_h, _f._c_h_e_c_k_e_x_e_c._s_h._l_e, and _f._c_h_e_c_k_e_x_p_r._s_h have been added.
-
- mmmmwwwwmmmm----ccccoooommmmppppaaaattttiiiibbbblllleeee OOOOppppeeeerrrraaaattttoooorrrrssss
- The _m_e_n_u keyword is followed by a menu name field, then by a set of curly
- braces containing one or more menu description lines. Each such line has
- a label field, an operator field, and may have a target field.
-
- The _f._t_i_t_l_e operator defines a title label to be placed in the menu.
-
- The _f._s_e_p_a_r_a_t_o_r operator causes a horizontal line to be drawn below the
- previous label.
-
- The _f._m_e_n_u operator causes a subsidiary menu to be invoked when its label
- is selected. The menu may also contain the keyword _d_y_n_a_m_i_c which is used
- internally for several Desktop applications to dynamically update the
- toolchest's contents. There is currently no publicly available method
- for other applications to take advantage of this capability.
-
- The _f._l_a_b_e_l operator defines a label to be placed in the menu.
-
- The _f._e_x_e_c operator defines a command to be executed behind a command
- button. If f.exec is used, no validation on the executability will be
- performed. If a more robust treatment at run-time is desired, refer to
- the extension operators described below. It is also possible to improve
- performance by using the shell versions of the exec operators, also
- defined below. Prior to executing the command, toolchest will load the
- environment defined in $HOME/.desktop-<hostname>/desktopenv. This file
- can be modified by selecting Desktop>Cusomize>Utilities from the
- Toolchest. Any commands that contain double or single quotes should be
- protected from the shell by preceeding them with a backslash character.
-
-
-
- PPPPaaaaggggeeee 5555
-
-
-
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- For example, if you wish to execute the command
- eeeecccchhhhoooo """"TTTTeeeessssttttiiiinnnngggg tttthhhheeee ttttoooooooollllcccchhhheeeesssstttt""""
- then you would add an entry to the chest's resource file as follows:
- """"TTTTeeeesssstttt"""" ffff....eeeexxxxeeeecccc """"eeeecccchhhhoooo \\\\""""TTTTeeeessssttttiiiinnnngggg tttthhhheeee ttttoooooooollllcccchhhheeeesssstttt\\\\""""""""
-
-
- Unlike in mwm, the same menu may be named twice. Subsequent references
- to the menu add items to the menu. The primary purpose of declaring a
- menu twice is to add items to a system menu in a private file. For
- example, in the auxiliary toolchest file, a user could add a new pane to
- the top level by adding items to the ToolChest menu.
-
- EEEExxxxtttteeeennnnssssiiiioooonnnn KKKKeeeeyyyywwwwoooorrrrddddssss
- Several new keywords have been added. The _r_e_m_o_v_e keyword removes a
- button from the toolchest. It is most useful when the user wants to use
- the system toolchest, but doesn't want all the entries in it. There are
- two formats:
- rrrreeeemmmmoooovvvveeee <name>
- will remove all buttons with the given name <name>, while
- rrrreeeemmmmoooovvvveeee <name> ffffrrrroooommmm <menu_name>
- will remove the button <name> from the specified menu <menu_name>. The
- latter form is recommended, as it doesn't risk removing the wrong button.
- However, the former form is easier as it doesn't require figuring out the
- menu name. For example, the Overview button can be removed from the main
- menu either with
- rrrreeeemmmmoooovvvveeee OOOOvvvveeeerrrrvvvviiiieeeewwww ffffrrrroooommmm TTTToooooooollllCCCChhhheeeesssstttt
- or with
- rrrreeeemmmmoooovvvveeee OOOOvvvveeeerrrrvvvviiiieeeewwww
-
- If a button being removed is both preceded and followed by a separator,
- one of the separators is also removed.
-
- The _i_n_c_l_u_d_e and _s_i_n_c_l_u_d_e keywords include a file or directory. They
- differ only in that _i_n_c_l_u_d_e reports an error if the file or directory is
- not found while _s_i_n_c_l_u_d_e (for conditional include) is silent. _S_i_n_c_l_u_d_e
- is intended for shared toolchest files that can be individually
- customized by optionally including other files.
-
- If the parameter to _i_n_c_l_u_d_e or _s_i_n_c_l_u_d_e is a directory, all files in the
- directory that end with ._c_h_e_s_t are included in alphabetical order.
-
- Parameters to _i_n_c_l_u_d_e and _s_i_n_c_l_u_d_e may be prefaced with "~/", in which
- case they are looked up in the user's home directory.
-
- The include directives may not appear anywhere in the file; they may only
- appear in places where a menu could be declared. In particular, they may
- not appear within a menu declaration.
-
- In order for an include file to have any effect, it must add to the
- existing menu hierarchy. To do this, it must contain at least one
- redeclaration of an already existing menu. Items in that declaration
- will add to the existing menu. The declaration may also refer to new
-
-
-
- PPPPaaaaggggeeee 6666
-
-
-
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- menus, also included in the include file. For example, to add to the top
- level toolchest, redeclare the menu "ToolChest" specifying the new
- contents. These new contents will be added to the existing "ToolChest"
- menu. For an sample include file see the sample ._a_u_x_c_h_e_s_t_r_c below.
-
- EEEExxxxtttteeeennnnssssiiiioooonnnn OOOOppppeeeerrrraaaattttoooorrrrssss
- In addition to the mwm-compatible operators, a set of extension operators
- are available.
-
- The _f._c_h_e_c_k_e_x_e_c operator defines a command to be executed behind a
- command button. When selected, it behaves exactly like _f._e_x_e_c above.
- However, when the toolchest menus are being built, a validation check is
- run. If the command (the first argument in the command string) begins
- with a rooted path name (begins with "/"), then that path is checked for
- the existence and executability of the file. If the file does not exist,
- or if it is not executable, then this entry will be grayed out in the
- toolchest. Thus, the toolchest user will not be able to pick a menu item
- that will fail to execute. For example,
-
- """"MMMMaaaaggggnnnniiiiffffiiiieeeerrrr"""" ffff....cccchhhheeeecccckkkkeeeexxxxeeeecccc """"////uuuussssrrrr////ssssbbbbiiiinnnn////mmmmaaaagggg""""
-
- insures that /usr/sbin/mag is available to be run. If it has not been
- installed, for instance, the "Magnifier" item will be grayed out.
-
- The f.checkexpr operator defines a command to be executed behind a
- command button. When selected, it behaves exactly like f.exec above.
- However, when the toolchest menus are being built, a validation check is
- run. The f.checkexpr operator takes two double-quote-delimited
- expressions. The first expression is evaluated when the toolchest menus
- are being built; if this shell command expression fails (returns a non-
- zero status), then this entry will be grayed out in the toolchest. Since
- an arbitrary shell expression may be provided for this evaluation, a
- large degree of care may be exercised by the button programmer interested
- in protecting users from environmental dependencies which may lie within
- the actual command line itself. The second expression given to
- f.checkexpr defines the command to be executed when its button is
- selected, just as for f.checkexec and f.exec. For example, the command
-
- """"FFFFlllliiiipppp LLLLooooggggoooo"""" ffff....cccchhhheeeecccckkkkeeeexxxxpppprrrr """"tttteeeesssstttt ----xxxx ////uuuussssrrrr////ddddeeeemmmmoooossss////bbbbiiiinnnn////fffflllliiiipppp ----aaaa ----rrrr
- ////uuuussssrrrr////ddddeeeemmmmoooossss////ddddaaaattttaaaa////mmmmooooddddeeeellllssss////llllooooggggoooo....bbbbiiiinnnn"""" """"////uuuussssrrrr////ddddeeeemmmmoooossss////bbbbiiiinnnn////fffflllliiiipppp
- ////uuuussssrrrr////ddddeeeemmmmoooossss////ddddaaaattttaaaa////mmmmooooddddeeeellllssss////llllooooggggoooo....bbbbiiiinnnn""""
-
- provides a test expression that insures the executability of the command
- and the readability of the critical data file. If either of these files
- has been deleted or lacks the required permissions, the "Flip Logo" item
- will be grayed out.
-
- For improved performance, the various forms of f.exec all have shell
- versions of them, made by appending ._s_h to their names (i.e., _f._e_x_e_c._s_h,
- _f._c_h_e_c_k_e_x_e_c._s_h, and _f._c_h_e_c_k_e_x_p_r._s_h). Use of these versions forces the
- command to be run in /_b_i_n/_s_h instead of in $$$$MMMMWWWWMMMMSSSSHHHHEEEELLLLLLLL or $$$$SSSSHHHHEEEELLLLLLLL. For
- certain shells, /bin/sh is faster. It is highly recommended that these
-
-
-
- PPPPaaaaggggeeee 7777
-
-
-
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- shell forms be used (the system toolchest uses them). However, the older
- forms are provided for compatibility with older versions of toolchest.
- Note that if you wish to see the sparkle launch effect when you launch
- from your menus, you need to add ._l_e to the checkexec command. (i.e,
- _f._c_h_e_c_k_e_x_e_c._s_h._l_e).
-
-
- NNNNeeeesssstttteeeedddd MMMMeeeennnnuuuussss
- The name on a _m_e_n_u line can be referenced by a f.menu operator from
- another menu description; this defines a cascading menu relationship.
-
- Top level buttons displayed in the toolchest window are defined in the
- "ToolChest" menu. Multiple references to the same menu are not
- supported. Menu names should be unique. Consider the following
- (partial) definition:
-
- menu ToolChest
- {
- "System" f.menu system
- no-label f.separator
- "Windows" f.menu windows
- no-label f.separator
- "Tools" f.menu tools
- no-label f.separator
- "Demos" f.menu demos
- }
-
- menu tools
- {
- "Tools" f.title
- "Shell" f.checkexec.sh.le "xterm"
- no-label f.separator
- "Showmap" f.checkexec.sh.le "/usr/sbin/showmap"
- "Makemap" f.checkexec.sh "/usr/sbin/makemap"
- "Clocks" f.menu clocks
- }
-
- menu clocks
- {
- "" f.title
- "Square Clock" f.checkexec.sh.le "/usr/sbin/clock"
- "Analog Clock" f.exec.sh "xclock"
- "Round Clock" f.checkexec.sh.le "oclock -bg black -fg \"dark red\""
- "Digital Clock" f.exec.sh "xclock -digital"
- }
-
- ...
-
-
- Note that the "clocks" menu is cascaded from the "tools" menu, and that
- "tools" is cascaded from the "ToolChest" menu. So in this case the
- toolchest has the following top level buttons:
-
-
-
- PPPPaaaaggggeeee 8888
-
-
-
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- -----------
- | System |
- |---------|
- | Windows |
- |---------|
- | Tools |
- |---------|
- | Demos |
- -----------
-
-
- and selecting the "Tools" button will pop up a menu that looks something
- like this:
-
- --------------
- | Tools |
- |============|
- | Shell |
- |------------|
- | Showmap |
- | Makemap |
- | Clocks -> |
- --------------
-
-
- SSSSaaaammmmpppplllleeee ....aaaauuuuxxxxcccchhhheeeessssttttrrrrcccc ffffiiiilllleeee
- The following sample ._a_u_x_c_h_e_s_t_r_c file adds a menu of my favorite things
- to the top level. This menu includes the program _a_t_l_a_n_t_i_s as well as a
- games submenu.
-
- menu ToolChest
- {
- "My Favorite Things" f.menu mystuff
- }
-
- menu mystuff
- {
- "dolphins" f.exec "/usr/demos/bin/atlantis"
- "Test Program" f.exec "source ~/.variables;~/testprog"
- "games" f.menu mygames
- }
-
- menu mygames
- {
- "flight simulator" f.exec /usr/demos/bin/flight
- "arena" f.exec /usr/demos/bin/arena
- }
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 9999
-
-
-
-
-
-
- TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX)))) TTTTOOOOOOOOLLLLCCCCHHHHEEEESSSSTTTT((((1111XXXX))))
-
-
-
- NOTE
- When the desktop is configured off with ////eeeettttcccc////cccchhhhkkkkccccoooonnnnffffiiiigggg ddddeeeesssskkkkttttoooopppp ooooffffffff, an
- alternate toolchest file called /_u_s_r/_l_i_b/_X_1_1/_n_o_d_e_s_k_t_o_p._c_h_e_s_t_r_c is used;
- it contains fewer entries and functions.
-
- For more information about the entire IRIX Interactive Desktop
- environment, see the IID(1) man page.
-
-
- FFFFIIIILLLLEEEESSSS
- /usr/lib/X11/system.chestrc
- ~/.chestrc
- ~/.auxchestrc
- /usr/lib/X11/nodesktop.chestrc
- /usr/lib/X11/app-chests/*.chest
- /usr/lib/X11/app-defaults/Toolchest
- /usr/lib/X11/remote.chestrc
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- mwm(1X), 4Dwm(1X), desktop(1X), windows(1x), soundscheme(1), IID(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 11110000
-
-
-
-